import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:sonora/bloc/base/sj_base_state.dart';
import 'package:sonora/shared/lib/enum/sj_language_code.dart';

part 'sj_app_state.freezed.dart';

@freezed
class SjAppState extends SjBaseState with _$SjAppState {
  const factory SjAppState(
      {@Default(SjLanguageCode.zh) SjLanguageCode languageCode,
      @Default(false) bool isLogin,
      @Default(false) bool isDarkTheme}) = _SjAppState;
}
